package com.cinemahorairerapido.bean;

import java.io.Serializable;
import java.util.Date;
import java.util.HashMap;
import java.util.List;

public class Movie implements Serializable {

	public enum ShowTimeType {
		NORMAL, VO, VF3D, VO3D, IMAX, VOIMAX;
	}

	/**
	 * 
	 */
	private static final long serialVersionUID = 814474675386907424L;

	private Integer id;

	private String allocineCode;

	private String movieName;

	private HashMap<Date, HashMap<ShowTimeType, List<String>>> timeList = new HashMap<Date, HashMap<ShowTimeType, List<String>>>();

	private String directors;

	private String actors;

	private List<String> genre;

	private Date releaseDate;

	private String imageUrl;

	private String synopsis;

	private Double pressRating;

	private Double userRating;

	private String trailerUrl;

	/**
	 * runtime in second
	 */
	private Integer runtime;

	public Movie(Integer id, String movieName, HashMap<Date, HashMap<ShowTimeType, List<String>>> timeList) {
		super();
		this.id = id;
		this.movieName = movieName;
		this.timeList = timeList;
	}

	public Movie() {
		// TODO Auto-generated constructor stub
	}

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getMovieName() {
		return movieName;
	}

	public void setMovieName(String movieName) {
		this.movieName = movieName;
	}

	public HashMap<Date, HashMap<ShowTimeType, List<String>>> getTimeList() {
		return timeList;
	}

	public void setTimeList(HashMap<Date, HashMap<ShowTimeType, List<String>>> timeList) {
		this.timeList = timeList;
	}

	public String getDirectors() {
		return directors;
	}

	public void setDirectors(String directors) {
		this.directors = directors;
	}

	public String getActors() {
		return actors;
	}

	public void setActors(String actors) {
		this.actors = actors;
	}

	public List<String> getGenre() {
		return genre;
	}

	public void setGenre(List<String> genre) {
		this.genre = genre;
	}

	public Date getReleaseDate() {
		return releaseDate;
	}

	public void setReleaseDate(Date releaseDate) {
		this.releaseDate = releaseDate;
	}

	public String getImageUrl() {
		return imageUrl;
	}

	public void setImageUrl(String imageUrl) {
		this.imageUrl = imageUrl;
	}

	public String getSynopsis() {
		return synopsis;
	}

	public void setSynopsis(String synopsis) {
		this.synopsis = synopsis;
	}

	public String getAllocineCode() {
		return allocineCode;
	}

	public void setAllocineCode(String allocineCode) {
		this.allocineCode = allocineCode;
	}

	public Integer getRuntime() {
		return runtime;
	}

	public void setRuntime(Integer runtime) {
		this.runtime = runtime;
	}

	public Double getPressRating() {
		return pressRating;
	}

	public void setPressRating(Double pressRating) {
		this.pressRating = pressRating;
	}

	public Double getUserRating() {
		return userRating;
	}

	public void setUserRating(Double userRating) {
		this.userRating = userRating;
	}

	public String getTrailerUrl() {
		return trailerUrl;
	}

	public void setTrailerUrl(String trailerUrl) {
		this.trailerUrl = trailerUrl;
	}

}
